package com.santoker.user.service.dto.vo.auth;

import com.santoker.user.service.dto.vo.AbstractVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value="重置密码请求body")
public class ResetVo extends AbstractVo {

    @NotNull(message = "账号不能为空")
    @ApiModelProperty(value = "账号：注册时手机号/邮箱", required = true)
    private String account;

    @NotNull(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码", required = true)
    private String captcha;

    @NotNull(message = "密码不能为空")
    @ApiModelProperty(value = "密码", required = true)
    private String password;

}
